package com.jeect.productservice.mapper;

import com.jeect.base.domain.Product;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface ProductMapper {
    Product getBySku(@Param("sku") String sku);

    void save(Product product);

    int updateProduct(Product product);
}
